/*
 * Stack_Pointer_Tasks.c
 *
 *  Created on: Jan 20, 2014
 *      Author: adijoshi
 */
//INCLUDES
#include "includes.h"

/*
 * Function: get_Program_Counter
 *
 * Inputs:	(None)
 * Outputs: contents of PC
 */

unsigned short get_Program_Counter()
{
	return read_from_memory(PC,DATA);
}

/*
 * Function: set_Program_Counter
 *
 * Inputs:	New contents of PC
 * Outputs: (None)
 */

void set_Program_Counter(unsigned short data)
{
	write_in_memory(PC,data,DATA);
}
